package com.sh.data.engine.repository.dao.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

/**
 * @author : fuchen
 * @date : 2022/2/10 16:03
 */

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@TableName("tb_data_api_user_call_statistics")
@EqualsAndHashCode(callSuper = true)
public class DataApiUserStatisticsEntity extends EngineBaseModel<DataApiUserStatisticsEntity> {

    /**
     * api id
     */
    private Long apiId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 总数
     */
    private Long totalCount;

    /**
     * 成功数
     */
    private Long succCount;

    /**
     * 失败数
     */
    private Long failCount;


}
